package com.ly.damai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author lx
 * @since 2025-03-01
 */
@Getter
@Setter
@TableName("product")
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "pid", type = IdType.AUTO)
    private Integer pid;

    @TableField("pname")
    private String pname;

    @TableField("market_price")
    private Object marketPrice;

    @TableField("shop_price")
    private Object shopPrice;

    @TableField("image")
    private String image;

    @TableField("pdesc")
    private String pdesc;

    @TableField("is_hot")
    private Integer isHot;

    @TableField("pdate")
    private LocalDateTime pdate;

    @TableField("csid")
    private Integer csid;

    @TableField("nums")
    private Integer nums;
}
